<template>
  <div class="swiper">
    <van-swipe :autoplay="3000" >
      <van-swipe-item v-for="(image, index) in allList" :key="index">
        <img style="width: 100%" v-lazy="image.indexDownImgUrl"/>
      </van-swipe-item>
    </van-swipe>
  </div>
</template>

<script>
export default {
  name: "Swiper",
  props: ['allList']
}
</script>

<style scoped>

</style>